// main.js
import Vue from 'vue';
import App from '@/App.vue';
import router from '@/router';
import ajax from '@/utils/axios';
import ElementUI from 'element-ui';
import '@/assets/theme/index.css';
import store from '@/store';

Vue.config.productionTip = false;

// 挂载 axios 实例到 Vue 原型上
Vue.prototype.$ajax = ajax;

Vue.use(ElementUI);

import Avue from '@smallwei/avue';
import '@smallwei/avue/lib/index.css';
Vue.use(Avue);

new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app');
